// Parser.cpp : Defines the entry point for the console application.
//

#include "stdafx.h"
#include <string>
#include <iostream>
#include <boost/regex.hpp>
using namespace std;
using namespace boost;
int _tmain(int argc, _TCHAR* argv[])
{
	
	string cmd = "createNE(enb)";
	int i = cmd.find("createNE",0);
	cout<<i<<endl;
	if( cmd.find("createNE") != std::string::npos)
	{
		cout<<"found"<<endl;

		regex expression("createNE ([a-zA-Z]*)");
		cmatch what;
		if(regex_match(cmd.c_str(), what, expression))
		{
			cmatch::iterator it = what.begin();
			for(;it != what.end(); it++)
				cout<<"str :"<<*it<<endl;
		}

	}else if (cmd.find("listNE") != std::string::npos)
	{

	}else if (cmd.find("ListModule") != std::string::npos)
	{

	}else if (cmd.find("startNE") != std::string::npos)
	{


	}

	return 0;
}

